package cn.ojh.mapper;

import java.util.List;

import cn.ojh.domain.Article;
import cn.ojh.domain.ArticleType;

public interface ArticleMapper {
	int deleteByPrimaryKey(Long articleId);
	
    int insert(Article record);

    Article selectByPrimaryKey(Long id);

    List<Article> selectAll();

    int updateByPrimaryKey(Article record);

	List<Article> getArticleByCode(String articleTypeCode);


	

}